#%RAML 1.0

    title: Party API
    baseUri: http://localhost:8081
    version: v1

    documentation:
      - title: mod-party API
        content: This documents the API calls that can be made to post party for users, and to get them

    types:
      urgentNotify: !include urgentNotify.json
      errors: !include raml-util/schemas/errors.schema

    traits:
      validate: !include raml-util/traits/validation.raml
      language: !include raml-util/traits/language.raml
      pageable:  !include raml-util/traits/pageable.raml
      searchable: !include raml-util/traits/searchable.raml

    resourceTypes:
       postempty-body: !include raml-util/rtypes/post-empty-body.raml

    /party/urgent_notify:
        displayName: urgentNotify
        description: 提供紧急通知的功能
        type:
           postempty-body:
             schema: urgentNotify
             exampleItem: !include examples/urgentNotify.sample
        post:
             is: [validate]